//package com.lx.Login.bean;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.mail.javamail.JavaMailSenderImpl;
//
//@Configuration
//public class MailConfiguration {
//
//    @Bean
//    public JavaMailSenderImpl JavaMailSender(){
//        JavaMailSenderImpl javaMailSender = new JavaMailSenderImpl();
//        javaMailSender.setHost("smtp.qq.com");
//        javaMailSender.setUsername("3261810649@qq.com");
//        javaMailSender.setPassword("bjvuorsiqpcmdaad");
//        return javaMailSender;
//    }
//}
